﻿namespace CustomInterfaces;
// This class extends Circle and hides the inherited Draw() method.
class ThreeDCircle : Circle, IDraw3D
{
    // Hide the PetName property above me.
    public new string PetName { get; set; }

    // Hide any Draw() implementation above me.
    public new void Draw()
    {
        Console.WriteLine("Drawing a 3D Circle");
    }

    public void Draw3D() => Console.WriteLine("Drawing Circle in 3D!");
}
